package com.dv.driverless.domain;

import java.util.Date;

import com.dv.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.dv.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 雷达信息对象 equipment_radar
 *
 * @author ruoyi
 * @date 2023-04-02
 */
public class EquipmentRadar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 雷达编码 */
    @Excel(name = "雷达编码")
    private String radarCode;

    /** 雷达名称 */
    @Excel(name = "雷达名称")
    private String radarName;

    /** 雷达类型 */
    @Excel(name = "雷达类型")
    private String radarType;

    /** 雷达IP */
    @Excel(name = "雷达IP")
    private String radarIp;

    /** 雷达端口 */
    @Excel(name = "雷达端口")
    private String radarPort;

    /** 库区ID */
    @Excel(name = "库区ID")
    private Long areaId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志 */
    private String delFlag;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRadarCode(String radarCode)
    {
        this.radarCode = radarCode;
    }

    public String getRadarCode()
    {
        return radarCode;
    }
    public void setRadarName(String radarName)
    {
        this.radarName = radarName;
    }

    public String getRadarName()
    {
        return radarName;
    }
    public void setRadarType(String radarType)
    {
        this.radarType = radarType;
    }

    public String getRadarType()
    {
        return radarType;
    }
    public void setRadarIp(String radarIp)
    {
        this.radarIp = radarIp;
    }

    public String getRadarIp()
    {
        return radarIp;
    }
    public void setRadarPort(String radarPort)
    {
        this.radarPort = radarPort;
    }

    public String getRadarPort()
    {
        return radarPort;
    }
    public void setAreaId(Long areaId)
    {
        this.areaId = areaId;
    }

    public Long getAreaId()
    {
        return areaId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("radarCode", getRadarCode())
            .append("radarName", getRadarName())
            .append("radarType", getRadarType())
            .append("radarIp", getRadarIp())
            .append("radarPort", getRadarPort())
            .append("areaId", getAreaId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("remark", getRemark())
            .toString();
    }
}
